from winManger import Process

process = Process()

process_name = "dnplayer.exe"
process_info = process.getProcessInfo(process_name)
print("程序pid为:  ", process_info["pid"])
hnd = process.get_hwnds_for_pid(process_info["pid"])
print("程序窗口句柄为:  ", hnd)
process.hideWindow(hnd)
